import { Member } from "@app/db/common/entities/Member";
import { Tenant } from "@app/db/common/entities/Tenant";
import { Device } from "@app/db/entities/Device";


export interface MemberResult extends Member {
    deptName? : string;
    roleNames? : string[]
}

export interface TenantResult extends Tenant {
    admin? : Member;
}

export interface DeviceResult extends Device {
    ownerName? : string;
    owner? : number;
    typeName? : string;
    modelName?:string;
}